<template>
    <el-container class="knowledgeManage">
        <el-aside width="200px" class="robotAside">
            <el-scrollbar style="height: 100%">
                <menu-list :menuList="menuArr" rootPath="knowledgeManage" />
            </el-scrollbar>
        </el-aside>
        <el-main class="robotMain">
            <router-view></router-view>
        </el-main>
    </el-container>
</template>

<script>
import menuList from "@/components/menuList";
export default {
    name: "knowledgeManage",
    data() {
        return {
            menuArr: [
                {
                    name: "知识库管理",
                    menuCode: "M8",
                    children: [
                        {
                            name: "知识库",
                            menuCode: "M23",
                            path: "/knowledgeManage/knowledge",
                        },
                        {
                            name: "多轮会话",
                            menuCode: "M23",
                            path: "/knowledgeManage/dialogue",
                        },
                        {
                            name: "知识中转站",
                            menuCode: "M24",
                            path: "/knowledgeManage/knowledgeTransfer",

                        },
                        {
                            name: "知识回收站",
                            menuCode: "M25",
                            path: "/knowledgeManage/recycleBin",
                        },
                        {
                            name: "操作日志",
                            menuCode: "M26",
                            path: "/knowledgeManage/operationLog",
                        },
                    ],
                },
                {
                    name: "词库",
                    menuCode: "M9",
                    children: [
                        {
                            name: "词库管理",
                            menuCode: "M27",
                            path: "/knowledgeManage/thesaurus",
                        },
                    ],
                },
                {
                    name: "素材",
                    menuCode: "M10",
                    children: [
                        {
                            name: "素材管理",
                            menuCode: "M28",
                            path: "/knowledgeManage/material",
                        },
                    ],
                },
                {
                    name: "知识集",
                    menuCode: "M11",
                    children: [
                        {
                            name: "知识集管理",
                            menuCode: "M29",
                            path: "/knowledgeManage/knowledgeSet",
                        },
                    ],
                },
                {
                    name: "智能学习",
                    menuCode: "M12",
                    children: [
                        {
                            name: "未知问题",
                            menuCode: "M30",
                            path: "/knowledgeManage/unknownProblem",
                        },
                        {
                            name: "智能训练",
                            menuCode: "M31",
                            path: "/knowledgeManage/intelligentTraining",
                        },
                    ],
                },
                {
                    name: "高级配置",
                    menuCode: "M13",
                    children: [
                        {
                            name: "自定义标签",
                            menuCode: "M32",
                            path: "/knowledgeManage/customLabel",
                        }
                    ],
                },
            ],
        };
    },
    mounted() { },
    components: {
        menuList,
    },
};
</script>

<style  lang="scss"></style>